.class public Lcom/estrongs/android/widget/g;
.super Lcom/estrongs/android/ui/dialog/q;
.source "ImageChooserDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/widget/g$g;
    }
.end annotation


# instance fields
.field protected a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

.field protected b:Landroid/app/Activity;

.field protected c:Landroid/view/View;

.field protected d:Lcom/estrongs/android/widget/g$g;

.field protected e:Landroid/view/View;

.field protected f:Landroid/widget/TextView;

.field protected g:Lcom/estrongs/android/view/FileGridViewWrapper$z;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/estrongs/android/widget/g$g;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    .line 2
    new-instance v0, Lcom/estrongs/android/widget/g$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/widget/g$a;-><init>(Lcom/estrongs/android/widget/g;)V

    iput-object v0, p0, Lcom/estrongs/android/widget/g;->g:Lcom/estrongs/android/view/FileGridViewWrapper$z;

    .line 3
    new-instance v0, Lcom/estrongs/android/widget/g$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/widget/g$b;-><init>(Lcom/estrongs/android/widget/g;)V

    invoke-super {p0, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/widget/g;->b:Landroid/app/Activity;

    .line 5
    iput-object p2, p0, Lcom/estrongs/android/widget/g;->d:Lcom/estrongs/android/widget/g$g;

    .line 6
    invoke-virtual {p0, p1}, Lcom/estrongs/android/widget/g;->a(Landroid/content/Context;)V

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/android/widget/g;->c()V

    return-void
.end method


# virtual methods
.method protected a()Lcom/estrongs/android/view/ImageFileGridViewWrapper;
    .locals 0

    const p0, 0x0

    throw p0
.end method

.method protected a(Landroid/content/Context;)V
    .locals 2

    .line 1
    invoke-static {p1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/widget/g;->b()I

    move-result v0

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    const/16 v0, 0x3e8

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->setMinimumWidth(I)V

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    const p1, 0x7f0904c9

    .line 5
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    iput-object p1, p0, Lcom/estrongs/android/widget/g;->c:Landroid/view/View;

    const p1, 0x7f0908ab

    .line 6
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    iput-object p1, p0, Lcom/estrongs/android/widget/g;->e:Landroid/view/View;

    if-eqz p1, :cond_0

    .line 7
    new-instance v0, Lcom/estrongs/android/widget/g$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/widget/g$c;-><init>(Lcom/estrongs/android/widget/g;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const p1, 0x7f09047d

    .line 8
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/widget/g;->f:Landroid/widget/TextView;

    :cond_0
    return-void
.end method

.method protected b()I
    .locals 0

    const p0, 0x0

    throw p0
.end method

.method public b(Z)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->z()I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->j(I)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->d(Z)V

    return-void
.end method

.method protected c()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/widget/g$d;

    iget-object v3, p0, Lcom/estrongs/android/widget/g;->b:Landroid/app/Activity;

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v1, v0

    move-object v2, p0

    invoke-direct/range {v1 .. v6}, Lcom/estrongs/android/widget/g$d;-><init>(Lcom/estrongs/android/widget/g;Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;Z)V

    iput-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060294

    .line 4
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    .line 5
    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->k(I)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    const/16 v1, 0xb

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->j(I)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    new-instance v1, Lcom/estrongs/android/widget/g$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/g$e;-><init>(Lcom/estrongs/android/widget/g;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->c:Landroid/view/View;

    check-cast v0, Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v1}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    iget-object v1, p0, Lcom/estrongs/android/widget/g;->g:Lcom/estrongs/android/view/FileGridViewWrapper$z;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper$z;)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/widget/g$f;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/g$f;-><init>(Lcom/estrongs/android/widget/g;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public dismiss()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/g;->a:Lcom/estrongs/android/view/ImageFileGridViewWrapper;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->v0()V

    :cond_0
    return-void
.end method
